package com.jeomo.mem.provider.request;

import com.jeomo.common.core.request.BaseRequest;

import javax.validation.constraints.NotBlank;

/**
 *
 */
public class MemberPointRuleDetail extends BaseRequest {

    /** 会员积分规则ID(主表ID)*/
    private Long ruleId;

    private String ruleCode;

    /** 业务类型*/
    private Integer bsType;
    @NotBlank(message = "业务编码不能为空")
    /** 业务编码*/
    private String code;
    @NotBlank(message = "业务名称不能为空")
    /** 业务名称*/
    private String name;
    /** 许可*/
    private Boolean permit;
    /** 优先级*/
    private Integer priority;

    public Long getRuleId() {
        return ruleId;
    }

    public void setRuleId(Long ruleId) {
        this.ruleId = ruleId;
    }


    public Boolean getPermit() {
        return permit;
    }

    public void setPermit(Boolean permit) {
        this.permit = permit;
    }

    public Integer getBsType() {
        return bsType;
    }

    public void setBsType(Integer bsType) {
        this.bsType = bsType;
    }

    public Integer getPriority() {
        return priority;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRuleCode() {
        return ruleCode;
    }

    public void setRuleCode(String ruleCode) {
        this.ruleCode = ruleCode;
    }
}
